home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 003 / list63a.arc / LIST.DOC < prev    next >
Encoding:
Text File  |  1988-08-13  |  55.2 KB  |  1,500 lines

  1. 
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                             LIST Version 6.3a 
  21.  
  22.                              August 13, 1988 
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.                    (c) Copyright  Vernon D. Buerg 1983-88 
  59.                            All rights reserved 
  60.  
  61.             T A B L E   O F   C O N T E N T S
  62.  
  63. __________________________________________________________________________
  64.  
  65.  
  66.  Description of Use  ................................................... 1    
  67.       Introduction  .................................................... 1    
  68.       Command line format  ............................................. 1    
  69.       Installation  .................................................... 1    
  70.  
  71.  How to use LIST  ...................................................... 2    
  72.  
  73.  Commands and Keys  .................................................... 4    
  74.       Cursor keys  ..................................................... 4    
  75.       Letter keys  ..................................................... 4    
  76.       Control- keys  ................................................... 5    
  77.       F- function keys  ................................................ 5    
  78.       Alt- keys  ....................................................... 6    
  79.  
  80.  Scrolling  ............................................................ 8    
  81.  
  82.  Positioning to Lines  ................................................. 9    
  83.  
  84.  Displaying multiple files  ............................................ 10   
  85.  
  86.  Marking and Extracting Lines  ......................................... 11   
  87.      Display Format  ................................................... 12   
  88.      Status Line Format  ............................................... 12   
  89.      Command Line Format  .............................................. 13   
  90.  
  91.  Screen Colors  ........................................................ 14   
  92.  
  93.  Cloning Procedure  .................................................... 15   
  94.  
  95.  Scanning for text  .................................................... 16   
  96.  
  97.  Filtering  ............................................................ 17   
  98.       Hi-bit Filter  ................................................... 17   
  99.       Star Filter  ..................................................... 17   
  100.       Junk Filter  ..................................................... 17   
  101.       Hex Format Filter  ............................................... 17   
  102.  
  103.  DOS considerations  ................................................... 18   
  104.       File Sharing  .................................................... 18   
  105.       Invoking DOS Commands  ........................................... 18   
  106.       Screen Saving  ................................................... 18   
  107.  
  108.  DEBUG Information  .................................................... 19   
  109.  
  110.  Restrictions  ......................................................... 20   
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124. Contents 1                                             LIST  User's Guide 
  125. Description of Use 
  126. ______________________________________________________________________________
  127.  
  128.  
  129.     Introduction 
  130.   
  131.             You use LIST to display files on your monitor, line by  line 
  132.         with the aid of scrolling, positioning and filtering commands. 
  133.   
  134.  
  135.     Command line format 
  136.   
  137.         The command line format is: 
  138.   
  139.   
  140.         LIST [filespec...filespec] [/S][/J][/7][/8][/*][/W][/H][/L] 
  141.   
  142.   
  143.         where filespec is one or more names of files and the optional  / 
  144.         switches are: 
  145.   
  146.                 /S       indicates viewing a piped or redirected file 
  147.                 /J       sets Junk filter on 
  148.                 /7       sets 7-bit display 
  149.                 /8       sets 8-bit display 
  150.                 /*       sets star filter on 
  151.                 /W       sets Wrap on 
  152.                 /H       sets Hex dump mode 
  153.                 /L       sets pre-Loading on 
  154.   
  155. |           The command line switch character is normally a slash,  "/", 
  156. |       but LIST  will use  whatever character  that is  defined to  DOS 
  157. |       as the command line switch character, e.g. a dash, "-". 
  158.   
  159.  
  160.     Installation 
  161.   
  162.             There are two .COM files and this .DOC file on the disk that 
  163.         you received (or  in the .ARC  file that you  downloaded).  Copy 
  164.         the two .COM files to your working disk, and into the  directory 
  165.         that is most convenient.  The LIST.COM file is the full featured 
  166.         program, and  the LISTS.COM  file is  the small  version.  LISTS 
  167.         runs in much less memory (about 29K) but is limited to files  of 
  168.         about 50 thousand lines, or about 600 K bytes.  It also excludes 
  169.         the  screen  saving  feature  (see  Alt-X), and the shell to DOS 
  170.         command (see Alt-G), and the help screen. 
  171.   
  172.             You may rename the program file to any convenient name, such 
  173.         as L.COM, READ.COM, or LIST.COM. 
  174.   
  175.         To print the documentation, set  your printer for six lines  per 
  176.         inch,  and  10  characters  per  inch.   Then, use the DOS PRINT 
  177.         command.  For example, 
  178.   
  179.                         PRINT LIST.DOC 
  180.   
  181.         The documentation file is marked  with | before new and  changed 
  182.         lines. 
  183.   
  184.  
  185.  
  186.  
  187.  
  188.  
  189. LIST  User's Guide                                                    Page  1 
  190. How to use LIST 
  191. ______________________________________________________________________________
  192.  
  193.   
  194.             Using LIST is fairly straightforward.  You type the  command 
  195.         LIST, at the  DOS prompt, followed  by the name(s)  of the files 
  196.         that  you  want  to  see.   For  example:  LIST CONFIG.SYS would 
  197.         display the file CONFIG.SYS. 
  198.   
  199.             Once the file is displayed  on your screen, you may  use the 
  200.         cursor positioning keys to  move around and see  different parts 
  201.         of the file.  For example,  when LIST first starts, you  see the 
  202.         first 23 lines of the file.  To see the next 23 lines, or  page, 
  203.         press the PgDn key.   The PgUp key moves  you back one page  and 
  204.         shows you the  previous 23 lines.   The up-arrow and  down-arrow 
  205.         keys move it one line at  a time.  When you are finished,  press 
  206.         the ESCape key and you are returned to the DOS prompt. 
  207.   
  208.             The "filename" is optional.  If omitted, you are prompted to 
  209.         enter a filename.  You may  include drive, path, and wild  cards 
  210.         in the  file name.   The first  file which  matches that name is 
  211.         displayed.  After  the file  is displayed,  the next  file which 
  212.         matches the "filename" may be displayed, too. 
  213.   
  214.             You may also use LIST to display piped or redirected  files. 
  215.         If you are unfamiliar with these, you may skip to the next page. 
  216.   
  217.             To display  a redirected  file, use  a <  (less than symbol) 
  218.         before the name of the file  that was redirected and add the  /S 
  219.         parameter to the LIST command.   For example, the output of  the 
  220.         DIR command can be written to  a file called XYZ, and then  LIST 
  221.         can be instructed to read that file. 
  222.   
  223.                 dir a: >xyz 
  224.                 list <xyz /s 
  225.   
  226.             To display a piped file,  omit the filename, but supply  the 
  227.         /S. 
  228.   
  229.                 dir a: | list /s 
  230.   
  231.         Or, to LIST a file within an ARC archive: 
  232.   
  233.                 arc /p arcname.arc filename.ext | list /s 
  234.                                 - or - 
  235.                 arce arcname filename.ext /p | list /S 
  236.   
  237.   
  238.             Because files  contain different  kinds of  data, there  are 
  239.         several commands  to tell  LIST how  to display  the data.   The 
  240.         process that LIST uses to make the file data readable is  called 
  241.         filtering.  The filters in LIST can: 
  242.   
  243.             o  replace non-text and control characters with blanks 
  244.             o  expand TAB characters 
  245.             o  display line drawing characters 
  246.             o  change 8-bit (W*) data to readable 7-bit text 
  247.             o  display the hexidecimal values for each character 
  248.             o  remove "junk", such as control codes and backspaces 
  249.   
  250.             LIST was designed  to display ASCII  files.  That is,  files 
  251.         which  contain  text,  and  not  binary  or control codes.  Text 
  252.         characters usually  range from  a value  of 32  to 127.  To view 
  253.  
  254. Page  2                                                    LIST  User's Guide 
  255. How to use LIST 
  256. ______________________________________________________________________________
  257.  
  258.         binary  files  (COM,  EXE,  etc),  the  alt-H (hex dump display) 
  259.         command is available. 
  260.   
  261.   
  262.             Characters  below  32  (a  blank)  are replaced with a funny 
  263.         character to indicate that a non-displayable character has  been 
  264.         encountered.  This  character is  an upside-down  question mark. 
  265.         Characters above 127 may be valid graphic characters, and may be 
  266.         displayed  if  the  '8'  command  is  in effect.  To insure that 
  267.         characters above ASCII value 127 are not displayed, use the  '7' 
  268.         command. 
  269.   
  270.   
  271.             The top  line of  the display  gives the  file name, current 
  272.         right  scroll  offset,  and  the  FILE's creation date and time. 
  273.         Optionally, a ruler  may be displayed  on the top  line by using 
  274.         the alt-R keys. 
  275.   
  276.             The  file  is  displayed  with  one  logical  record on each 
  277.         display line: usually 80 characters.  A logical record ends in a 
  278.         linefeed and  may be  up to  910 characters  long.  If  a record 
  279.         exceeds 80 characters,  you may view  the portion beyond  the 80 
  280.         columns by using the scroll right command, or by using the  Wrap 
  281.         feature.  The Wrap (W) command toggles ON or OFF the wrapping of 
  282.         lines  longer  than  80  characters.   With  Wrap  on, lines are 
  283.         displayed in  their entirety,  80 characters  per display  line. 
  284.         The scroll left (arrow) and right (arrow) functions are disabled 
  285.         when Wrap is ON. 
  286.   
  287.             The file may be PRINTed  as it it displayed.  The  P command 
  288.         toggles  the  printer  on  or  off.   When  first entered, the P 
  289.         command causes the current screen  to be printed.  As new  lines 
  290.         are displayed, they too are printed.  Printing may be stopped by 
  291.         entering another P command.  The PrtSc key may also be used, but 
  292.         the title and prompt lines will be printed with the lines of the 
  293.         file.  Empty lines  cause a line  to be skipped  on the printer. 
  294.         The  letter  P  is  displayed  on  the bottom command line while 
  295.         printing.   See  the  section  on  extracting  lines  for  other 
  296.         methods. 
  297.   
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319. LIST  User's Guide                                                    Page  3 
  320. Commands and Keys 
  321. ______________________________________________________________________________
  322.  
  323.  
  324.     Cursor keys 
  325.   
  326.         Control key   Function 
  327.         -----------   ----------------------------------------------- 
  328.         left arrow    scroll left 10 columns 
  329.         right arrow   scroll right 10 columns 
  330.         up arrow      up one (previous) line 
  331.         down arrow    down one (next) line 
  332.   
  333.         Enter         continue to next page 
  334.         END           position to end of file (bottom) 
  335.         ESCape        Exit program unconditionally 
  336.         HOME          restart from first line (top) 
  337.         PgUp          scroll up one page, 23 lines 
  338.         PgDn          scroll down one page, 23 lines 
  339.   
  340.  
  341.     Letter keys 
  342.   
  343.         Letter(s)     Default   Function 
  344.         ---------     -------   ---------------------------------------- 
  345.         A                       find next occurrence of 'text' (Again) 
  346.         B                       skip to end of file (Bottom) 
  347. |       C               off     toggles Continuous scrolling 
  348.         D                       scroll Down one page 
  349.         F                       Find 'text' regardless of case 
  350.         G                       Get new filename/filespec (also alt-F) 
  351.         H or ?                  Help, show command list 
  352.         K               off     toggle Keyboard flush; if on, commands 
  353.                                 may be queued up by holding a key down 
  354.         L                       scroll Left 10 columns 
  355.         M               on      toggle test for display retrace, if on 
  356.                                 the display is faster but may flicker; 
  357.                                 not applicable to monochrome monitors 
  358.         N                       down one (Next) line 
  359.         P               off     toggle Printer on or off 
  360.         Q                       Quit, display next file, or exit if only 
  361.                                 one file is being viewed 
  362.         R                       scroll Right 10 columns 
  363.         S                       Scan for exact text match, case dependent 
  364.         T                       restart from first line (Top) 
  365.         U                       scroll Up one page (23 lines) 
  366.         W               off     toggle Wrap of lines over 80 chars 
  367.         X                       terminate, clear screen and eXit to DOS 
  368.         Z                       like ctl-PgUp, displays previous file 
  369.   
  370.         7               off     turn off high bit (non-graphics only) 
  371.         8               on      leave high bit on (graphics) 
  372.         *               off     toggles special * document filtering 
  373.   
  374.         +                       position a given number of lines forwards 
  375.         -                       position a given number of lines backwards 
  376.   
  377.         \text                   Find any case 'text' going forwards 
  378.         /text                   Scan exact case 'text' going forwards 
  379.   
  380.         ` or ^                  Find any case 'text' going backwards 
  381.         ' or v                  Find exact case 'text' going backwards 
  382.   
  383.  
  384. Page  4                                                    LIST  User's Guide 
  385. Commands and Keys 
  386. ______________________________________________________________________________
  387.  
  388.  
  389.     Control- keys 
  390.         Control key     Function 
  391.         -----------     --------------------------------------------------- 
  392.   
  393.         ctl-HOME        positions to a specific line number 
  394.   
  395.         ctl-PgUp        display previous file (review) 
  396.         ctl-PgDn        display next file (or exit if only one file) 
  397.   
  398.         ctl-left-arrow  reset horizontal scroll position to column 1 
  399.   
  400. |       ctl-A           scroll full left 
  401. |       ctl-C           next page 
  402. |       ctl-D           scroll right 
  403. |       ctl-E           former line 
  404. |       ctl-N           display next file 
  405. |       ctl-R           former page 
  406. |       ctl-S           scroll left 
  407. |       ctl-U           display previous file 
  408. |       ctl-W           former line 
  409. |       ctl-X           next line 
  410. |       ctl-Z           next line 
  411.   
  412.  
  413.     F- function keys 
  414.   
  415.     Function key     Function 
  416.     ------------     --------------------------------------------------- 
  417.   
  418.      F1              Help - display summary of commands 
  419.   
  420.      F3              Find next occurrence of text after Scan or Find 
  421.   
  422.      F9              Find previous occurrence of text after Scan or Find 
  423.   
  424.      F10             Exit to DOS with clear screen and cursor last line 
  425.   
  426.   
  427.      F2              change background color for Find/Scan text 
  428.      F4              change foreground color for Find/Scan text 
  429.   
  430.      F5              change background color for main body of display 
  431.      F6              change foreground color for main body of display 
  432.   
  433.      F7              change background color for top and bottom lines 
  434.      F8              change foreground color for top and bottom lines 
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449. LIST  User's Guide                                                    Page  5 
  450. Commands and Keys 
  451. ______________________________________________________________________________
  452.  
  453.  
  454.     Alt- keys 
  455.   
  456.         The Alt- key commands are entered by pressing the Alt key at the 
  457.         same time as you press one of the following letter keys: 
  458.   
  459.   
  460.     alt- letter      Function 
  461.     -----------      --------------------------------------------------- 
  462.   
  463.      alt-A           toggle on if you are using APXCOREA; off (default) 
  464.                      if using DesqView or DoubleDos 
  465.   
  466.      alt-B           mark bottom line 
  467.   
  468.      alt-C           clone LIST.COM, change colors or options permanently, 
  469.                      in a new copy of the LIST.COM program file 
  470.   
  471.      alt-D           toggle dump mode: if no lines are marked, the current 
  472.                      screen only is written to the specified file; if lines 
  473.                      are marked, they are written to the dump file. 
  474.   
  475.      alt-E           toggle 25/43 line display (does test for EGA). If the 
  476.                      actual EGA lines is not 25 or 43, don't use alt-E 
  477.   
  478.      alt-F           prompt for new Filespec or filename to display 
  479.                      entering a leading asterisk (*) may be obscured 
  480.                      by some console enhancers or utilities, so enter 
  481.                      two asterisks, e.g. **.doc 
  482.      alt-G           Shell to DOS, invoke COMMAND.COM, requires 96k or more. 
  483.                      Use the DOS EXIT command to return to LIST. 
  484.   
  485.      alt-H           toggles hex dump formatted display 
  486.   
  487.      alt-J           toggle adding line feed to lone carriage returns 
  488.                      and remove backspaces, overlaying previous characters 
  489.   
  490.      alt-L           toggles preloading of files; default is OFF 
  491.                      When the file is pre-loaded, the number of the 
  492.                      last line number becomes known. 
  493.   
  494.      alt-M           mark top line; marked lines may be printed or written 
  495.                      to the alt-D dump file. 
  496.   
  497. |    alt-N           toggles screen saving feature; with screen saving 
  498. |                    disabled, the minimum memory required is about 38k 
  499.   
  500. |    alt-O           like alt-D, writes marked lines to a file using the 
  501. |                    filename from the previous alt-D command 
  502.   
  503.      alt-R           toggles display of a ruler on the top line 
  504.   
  505.      alt-S           toggles file Sharing option, when off 
  506.                      files remain open until program termination 
  507.   
  508.      alt-T           toggles expansion of TAB control characters, the 
  509.                      tab columns are a multiple of 8, i.e. 1,9,17, etc. 
  510.                      The default is to expand TABs. See DEBUG section. 
  511.   
  512.      alt-U           unmark lines; line marks are removed 
  513.  
  514. Page  6                                                    LIST  User's Guide 
  515. Commands and Keys 
  516. ______________________________________________________________________________
  517.  
  518.   
  519.      alt-W           toggles split screen; when ON, the top half of 
  520.                      the screen is frozen. Further scrolling occurs 
  521.                      only in the bottom half of the screen (window) 
  522.                      until the alt-W keys are used again. 
  523.   
  524. |    alt-Y           repositions the file to the last "active" line; 
  525. |                    that is a line positioned to by Find/Scan, or 
  526. |                    by alt-M/alt-B marking of lines. 
  527.   
  528.      alt-X           exits to DOS and displays the original screen 
  529.                      (unless screen saving has been disabled) 
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579. LIST  User's Guide                                                    Page  7 
  580. Scrolling 
  581. ______________________________________________________________________________
  582.  
  583.   
  584.             You view different parts of the file by scrolling.  That is, 
  585.         you use the cursor positioning keys up, down, left and right  to 
  586.         move the display one increment in that direction.  For  example, 
  587.         press the down  arrow key to  move the display  one line in  the 
  588.         file, i.e. display the next line in the file. 
  589.   
  590.             The  PgDn  and  PgUp  cursor  keys  move the display on full 
  591.         screen in either direction. 
  592.   
  593.   
  594.             Rather than press the up  and down keys once for  each line, 
  595.         you  may  use  continuous  scrolling.   Use  the C key to toggle 
  596.         continuous  scrolling  on  or  off.   The  default is off.  When 
  597.         toggled on,  pressing the  up or  down arrow  keys results  in a 
  598.         moving display.  For example, when you press the down arrow, the 
  599.         next  line  of  the  file  is  displayed automatically every few 
  600.         moments.  It is  like holding down  the arrow key.   To stop the 
  601.         continuous scroll, press the space bar. 
  602.   
  603.   
  604.             The  speed  of  the  continuous  scroll  can  be adjusted by 
  605.         pressing the  + (plus)  or -  (minus) key  while the  display is 
  606.         moving.  The  plus key  makes the  display move  faster, and the 
  607.         minus key makes it move slower.  You can save the speed value by 
  608.         using the cloning command (see Alt-C). 
  609.   
  610.   
  611.         Summary of scrolling commands: 
  612.   
  613.             right arrow - move display right 10 columns 
  614.             left arrow  - move display left 10 columns 
  615.             down arrow  - display next line of file 
  616.             up arrow    - display previous line of file 
  617.             PgUp key    - display previous "page", 23 (or 41) lines back 
  618.             PgDn key    - display next "page", 23 (or 41) lines ahead 
  619.   
  620.             C key       - turns continuous scrolling on or off 
  621.             spacebar    - or any key, interrupts continuous scrolling 
  622.             + (plus)    - makes continuous scroll incrementally faster 
  623.             - (minus)   - makes continuous scroll slower 
  624.   
  625.   
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644. Page  8                                                    LIST  User's Guide 
  645. Positioning to Lines 
  646. ______________________________________________________________________________
  647.  
  648.   
  649.             Each displayable line of the file is assigned a line number. 
  650.         The first line is assigned line number 1.  The highest allowable 
  651.         line  number is 16 million.  In order to determine the last line 
  652.         number, the  entire file  must be  read.  For  this reason,  the 
  653.         first time that the END (bottom) command is issued, it will take 
  654.         longer to process.  This is  not necessary if the file  has been 
  655.         completely read (see the alt-L preloading option). 
  656.   
  657.             If the Wrap  option is in  effect, there is  one line number 
  658.         required for  each 80  bytes of  the file's  records.  Thus, the 
  659.         line number does not represent the actual number of lines in the 
  660.         file. 
  661.   
  662.             If  the  hex  dump  option  is  in effect, there is one line 
  663.         number required for each 16 bytes of the file.  For example,  an 
  664.         80-byte file will be displayed as 5 lines. 
  665.   
  666.             You may  position to  a specific  line number  by using  the 
  667.         c-Home, Ctrl key  and Home key,  or the #  key.  When c-Home  is 
  668.         entered, you are prompted for the line number.  Enter the 1 to 5 
  669.         digit line number.   The display will  now begin with  that line 
  670.         number at the top of the screen. 
  671.   
  672.             To position forward or backward,  you may use the +  (plus), 
  673.         or -  (minus) keys.   You are  prompted to  enter the  number of 
  674.         lines to  be skipped.   The display  resumes at  the line number 
  675.         shown on  the top  (status) line,  plus or  minus the  number of 
  676.         lines that you specified. 
  677.   
  678.             When you  change a  filter option,  such as  Wrap, the  line 
  679.         numbering changes.  An attempt is  made to retain the same  file 
  680.         position, but the file may be repositioned at the top. 
  681.   
  682.   
  683.         Summary of positioning commands: 
  684.   
  685.         ctrl-HOME, or #  - prompts for exact line number to display 
  686.         + (plus)         - prompts for the number of lines to skip 
  687.                            for positioning further ahead in the file 
  688.         - (minus)        - prompts for the number of lines to skip 
  689.                            for positioning to an earlier line 
  690.   
  691.   
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709. LIST  User's Guide                                                    Page  9 
  710. Displaying multiple files 
  711. ______________________________________________________________________________
  712.  
  713.   
  714.             You can display more than one file by supplying wildcards in 
  715.         the file name.  For example,  LIST *.DOC will display all  files 
  716.         with an extension of DOC. 
  717.   
  718.             To  display  the  next  file,  you  use  the  Q or ctrl-PgDn 
  719.         command.  When the  last file has  been displayed, you  can exit 
  720.         LIST by using the X,  F10, ESCape, or alt-X commands,  depending 
  721.         on how you want the screen to look when LIST ends. 
  722.   
  723.             To display the previous file, you use the ctrl-PgUp (control 
  724.         and PgUp keys together).  LIST can keep track of up to 20  files 
  725.         at one time.  The line number for each file is also remembered. 
  726.   
  727.             Another way to LIST more than  one file is to use the  alt-F 
  728.         command.  Alt-F asks you for a new file name, and you may  enter 
  729.         a simple file name, or one that includes wild cards.  These  new 
  730.         file names are added to the table of filenames that LIST  keeps. 
  731.         Thus, you can use alt-F for several different filenames, and use 
  732.         the ctrl-PgDn and ctrl-PgUp commands to move among them. 
  733.   
  734.   
  735.         Summary of file review commands: 
  736.   
  737.         ctrl-PgUp       - display previous file 
  738.         ctrl-PgDn       - display next file 
  739.   
  740.         alt-F           - prompt for new filename or filespec to display 
  741.   
  742.         ESCape          - exit to DOS 
  743.         Q               - display next file; if none, exit to DOS 
  744.                           leaving the last page on the screen 
  745.         X               - exit to DOS with a blank screen 
  746.         F10             - exit to DOS with a blank screen 
  747.         alt-X           - exit to DOS and display the screen that was 
  748.                           present when LIST was invoked 
  749.   
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774. Page  10                                                    LIST  User's Guide 
  775. Marking and Extracting Lines 
  776. ______________________________________________________________________________
  777.  
  778.   
  779.             There are two ways that lines can be extracted from a file: 
  780.   
  781.               o  with the P (print) command, and 
  782.               o  with the alt-D (dump data) command. 
  783.   
  784.             The lines to  be extracted are  either the current  lines on 
  785.         the screen,  or lines  that you  have marked  with the alt-M and 
  786.         alt-B commands. 
  787.   
  788.             To mark lines, you use  either the alt-M or alt-B  commands. 
  789.         The alt-M command  marks the top  line on the  screen, and alt-B 
  790.         marks the bottom line on the screen.  You can use either or both 
  791.         commands to mark the starting and ending lines (in the range  of 
  792.         lines  to  be  extracted).   The  marked  lines are displayed in 
  793.         reverse video. 
  794.   
  795.             After  you  have  marked  a  range  of  lines, you use the P 
  796.         (print) command to print all  of the marked lines.  Or,  you can 
  797.         use the  alt-D (dump  data) command  to write  those lines  to a 
  798.         file.  The alt-D command asks you for a file name.  If the  file 
  799.         does not  exist, a  new one  is created.   If the  file  already 
  800.         exists, the extracted lines are added (appended) to the file. 
  801.   
  802.             For example, you would like  to have LIST filter out  all of 
  803.         the junk in a file, and then write a new file.  To do this,  you 
  804.         might enter the following sequence of commands: 
  805.   
  806.                 list TESTDATA           ... display your TESTDATA file 
  807.                 alt-J                   ... filters out the junk 
  808.                 alt-M                   ... marks line 1 (top line) 
  809.                 END                     ... positions to end of file 
  810.                 alt-B                   ... marks the bottom line 
  811.                                                      (last line) 
  812.                 alt-D                   ... dumps data to a file 
  813.                 TESTDATE.NEW            ... you enter the new file name 
  814.                 alt-X                   ... quit and return to DOS 
  815.   
  816.   
  817.             Once you have marked a range of lines, use of alt-M or alt-B 
  818.         does not reset the entire line range.  The first or last  marked 
  819.         line may  change, but  both do  not change.   Using alt-M  again 
  820.         expands or contracts the  range appropriately.  If the  new line 
  821.         for alt-M/alt-B is before the  top mark, the top mark  is moved. 
  822.         If the new  line is after  the bottom mark,  the bottom mark  is 
  823.         changed.  If the new line is within the currently marked  range, 
  824.         alt-M moves the top mark - contracts the range - and alt-B moves 
  825.         the bottom mark. 
  826.   
  827.   
  828.             Use  the  alt-U  command  to  unmark lines, especially after 
  829.         alt-D (dump) to be sure. 
  830.   
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839. LIST  User's Guide                                                    Page  11 
  840. Marking and Extracting Lines 
  841. ______________________________________________________________________________
  842.  
  843.  
  844.    Display Format 
  845.   
  846.             The  monitor  display  is  defined  in  terms  of  lines and 
  847.         columns.  A typical monitor can  display 25 lines of 80  columns 
  848.         each.  LIST attempts to use the number of lines and columns  for 
  849.         the monitor mode in use.  For  example, if the monitor is in  40 
  850.         column mode, LIST displays only 40 characters per line.  And, if 
  851.         the monitor is set  for other than 25  lines, such as 35  or 43, 
  852.         LIST uses that number of lines. 
  853.   
  854.             If you use  the alt-E command  to change EGA  modes, the EGA 
  855.         palette,  cursor,  and  other  settings  are  set to DOS default 
  856.         values.  LIST does not preserve fonts or palettes. 
  857.   
  858.             The top line of the display is called the Status line.   The 
  859.         bottom line is called the Command line.  The remaining lines are 
  860.         called the  primary display  window, and  are usually  lines two 
  861.         through 24. 
  862.   
  863.  
  864.    Status Line Format 
  865.   
  866.         The Status line has the following format: 
  867.   
  868.                 LIST   lllll nnnnnnn +sss mm/dd/yy hh:mm  - filename 
  869.   
  870.         where, 
  871.   
  872.         'LIST'     is the name of this program 
  873.   
  874.         'lllllll'  is the line number of the first line in the 
  875.                    display window (usually on line 2) 
  876.   
  877.         'nnnnnnn'  is the line number of the last record, if known 
  878.   
  879.         '+sss'     if displayed, this is the Scroll amount, in 
  880. |                  multiples of 10, corresponding to the number 
  881.                    of columns that the display has been shifted 
  882.                    to the right to view records longer than 80 
  883.   
  884.         'mm/dd/yy' is the file's creation date (not today's date) 
  885.         'hh:mm'    is the file's creation time (not today's time) 
  886.   
  887.   
  888.         Note:      The date and time  shown on the top line is  NOT  the 
  889.                current date.  It is the date and time  that the file was 
  890.                created. 
  891.   
  892.   
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904. Page  12                                                    LIST  User's Guide 
  905. Marking and Extracting Lines 
  906. ______________________________________________________________________________
  907.  
  908.  
  909.    Command Line Format 
  910.   
  911.         The Command line has the following format: 
  912.   
  913.       command message _________ Toggles: hbkmpswtalj Keys: X=exit ?=Help 
  914.                                           ----------- 
  915.         where, 
  916.   
  917.         'command' indicates the current process: 
  918.   
  919.           'Command'   function prompt; you are being asked to enter 
  920.                        a command; enter the letter, or press the keys 
  921.                        for the action to be performed 
  922.   
  923.           'Reading '   the file data is being read 
  924.           'Filter  '   the file data is being formatted for display 
  925.           'Looking '   the Scan/Find text is being searched for 
  926.   
  927.           'Scan   '   you are being asked to enter text to locate 
  928.           'Find   '   in the file, up to 31 characters may be entered 
  929.   
  930.           '# lines?'   you are being asked to enter a 1 to 5 digit 
  931.                        number that is the amount of lines to skip 
  932.   
  933.           'Line #? '   you are being asked to enter a 1 to 5 digit 
  934.                        line number to which the display is to be 
  935.                        positioned 
  936.   
  937.   
  938.         'message' may be one of: 
  939.   
  940.           '*** Text not found ***' 
  941.            the Scan/Text was not found in the file 
  942.   
  943.           '   *** Top of file ***' 
  944.            the first line of the file is being displayed 
  945.   
  946.           '   *** End-of-file ***' 
  947.            the last line of the file is being displayed 
  948.   
  949.         Toggles: indicate status of toggles, lower case means OFF, upper 
  950.         case means the option is ON. 
  951.   
  952.         'H'       indicates that the hex Dump display option is in use 
  953.         'b'       the 'b' is replaced by a 7, 8, or * depending 
  954.                   on which of those options is in effect 
  955.         'K'       indicates that the Keyboard flush option is in use 
  956.         'M'       indicates that tests for monitor retrace are not made 
  957.         'P'       indicates that Print is in use 
  958.         'C'       toggles continuous scrolling 
  959.   
  960.         'W'       indicates that the Wrap mode is in effect 
  961.         'T'       indicates that TAB characters are expanded 
  962.         'A'       indicates APXCORE interface, 'a' for TV/DV/DD 
  963.         'L'       indicates that the pre-loading option is on 
  964.         'J'       indicates that line feeds are added to lone carriage 
  965.                   return control characters, and backspaces are handled 
  966.   
  967.  
  968.  
  969. LIST  User's Guide                                                    Page  13 
  970. Screen Colors 
  971. ______________________________________________________________________________
  972.  
  973.   
  974.             The screen's lines may be in any of three different colors: 
  975.   
  976.                 o  the 'special' color for the top status line and the 
  977.                    bottom command line 
  978.                 o  the 'normal' color for the file's text windows 
  979.                 o  the 'bright' color for lines with Find/Scan text, 
  980.                    and for the upside-down question mark in 7-bit mode 
  981.   
  982.             There is  a pair  of function  keys assigned  to each color. 
  983.         You use these function keys at any time to change the background 
  984.         and  foreground  colors  temporarily,  or  use the alt-C cloning 
  985.         command to make the  colors permanent.  Alt-C requires  that the 
  986.         LIST.COM program file be on the current drive and in the current 
  987.         directory. 
  988.   
  989.            The border is not  changed.  The foreground color  applies to 
  990.         the color of the characters. 
  991.   
  992.   
  993.         The color attributes may be changed by using these function keys: 
  994.   
  995.           For the main body of text: 
  996.   
  997.                 F5 - background color 
  998.                 F6 - foreground color 
  999.   
  1000.           For the top and bottom lines: 
  1001.   
  1002.                 F7 - background color 
  1003.                 F8 - foreground color 
  1004.   
  1005.           For the line with Find/Scan text: 
  1006.   
  1007.                 F2 - background color 
  1008.                 F4 - foreground 
  1009.   
  1010.             Once you  have decided  upon the  colors, use  the alt-C key 
  1011.         combination to change the LIST.COM program file. 
  1012.   
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034. Page  14                                                    LIST  User's Guide 
  1035. Cloning Procedure 
  1036. ______________________________________________________________________________
  1037.  
  1038.   
  1039.             The screen colors, the display retrace testing (M), the file 
  1040.         closing (C) and ruler (alt-R) options may be permanently set  in 
  1041.         the program by using the alt-C cloning function. 
  1042.   
  1043.             For  cloning  to  take  effect,  the  program must be called 
  1044.         LIST.COM and it must be on the current drive and in the  current 
  1045.         directory.  There are two versions of the LIST COM file.  One is 
  1046.         the normal  program.  The  other, which  contains an  'S' as the 
  1047.         last letter of  the file name,  is a slightly  smaller file that 
  1048.         excludes  the  Help  screen.   You  may  use either COM file for 
  1049.         cloning.  After cloning, you may continue viewing the file. 
  1050.   
  1051.            The clonable options (command toggles) are: 
  1052.   
  1053.              M      =  Mono monitor, affects retrace testing. If you see 
  1054.                        "snow" on your color monitor, turn off this 
  1055.                        option 
  1056.   
  1057.              alt-S  =  file(s) are shared 
  1058.              W      =  Wrap long lines 
  1059.              8/7/*  =  display all 256 values, or 7-bit, or special case 
  1060.              K      =  flush Keyboard each time a command is read 
  1061.   
  1062.              alt-A  =  set on if using Apxcore, off if using Double Dos 
  1063.                        or TopView, or DesqView 
  1064.   
  1065.              alt-H  =  hex dump display, like the DEBUG format 
  1066.   
  1067.              alt-J  =  toggle "junk" filter, add LF to CR, fix backspaces 
  1068.   
  1069.              alt-L  =  set on to force preloading (reading) of the 
  1070.                        entire file before any lines are displayed, 
  1071.                        Default is OFF. 
  1072.   
  1073. |            alt-N  =  toggles screen saving (see alt-X) feature 
  1074.   
  1075.              alt-R  =  toggle columnar ruler on top line 
  1076.   
  1077.              alt-T  =  toggle expansion of TAB characters 
  1078.   
  1079.   
  1080.         Note: Be  sure you  have no  other copies  of LIST.COM which are 
  1081.         accessible (because of a filepath type of utility). 
  1082.   
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099. LIST  User's Guide                                                    Page  15 
  1100. Scanning for text 
  1101. ______________________________________________________________________________
  1102.  
  1103.   
  1104.             You may use Find (\ or  F) to search for text regardless  of 
  1105.         the case, or you may use Scan  (/ or S) to find an exact  match. 
  1106.         The search begins  at the top  line displayed and  proceeds in a 
  1107.         forward direction until the end of file.  You may start a search 
  1108.         that goes backwards  rather than forwards  by using the  ` (left 
  1109.         quote) key  instead of  Find (\),  or by  using '  (right quote) 
  1110.         instead of Scan (/). 
  1111.   
  1112.             To scan for a character string, type a slash (/) followed by 
  1113.         one or more (up to 31)  characters.  The Scan text, but not  the 
  1114.         slash,  is  displayed  on  the  command  line.  The Scan is case 
  1115.         sensitive.  That is, lower case Scan text will only match  lower 
  1116.         case file text. 
  1117.   
  1118.             While  the  program  is  searching  for the text, the bottom 
  1119.         display line  is changed  to say  "Scanning".  Pressing  ANY key 
  1120.         while the search  is in progress  will terminate the  search and 
  1121.         display the message 'Text not found' on the bottom line. 
  1122.   
  1123.             If the text is found, the line containing it is displayed as 
  1124.         a high-intensity line (bright color) in the middle of the screen 
  1125.         depending on the value of the Find Row (see cloning section). 
  1126.   
  1127.             If the text is NOT  found, the command line (25)  is changed 
  1128.         to  say  '***  text  not  found  ***',  and  the display remains 
  1129.         unchanged. 
  1130.   
  1131.             To find the next occurrence of the same text, use the A)gain 
  1132.         command, or press the F3 key.  To find the previous  occurrence, 
  1133.         press the F9 key. 
  1134.   
  1135.             If the PCED keyboard  enhancement program is installed,  the 
  1136.         up/down cursor keys  may be used  to recall and  edit previously 
  1137.         entered Scan/Find text. 
  1138.   
  1139.             In  a  shared  file  environment,  if the file changes while 
  1140.         being listed,  the file  position may  become invalid.   Use the 
  1141.         HOME command to insure proper file synchronization,   or use the 
  1142.         alt-S command again. 
  1143.   
  1144.             If the display has been  scrolled right or left so  that the 
  1145.         "found"  text  is  not  visible,  you  will  see  an upside-down 
  1146.         question mark in the first column.  This is the same symbol that 
  1147.         is  displayed  on  a  blank  line  while  changing the Find/Scan 
  1148.         colors.  It  is there  so that  you can  tell that  the line  is 
  1149.         marked. 
  1150.   
  1151.         Summary of scanning commands: 
  1152.   
  1153.                 /       Scan for text with exact match 
  1154.                 v or '  Scan for text going backwards 
  1155.   
  1156.                 \       Find text with case insensitive search 
  1157.                 ^ or `  Find case insensitive text going backwards 
  1158.   
  1159.                 F3      Find next occurrence of text 
  1160.                 F9      Find previous occurrence of text 
  1161.   
  1162.  
  1163.  
  1164. Page  16                                                    LIST  User's Guide 
  1165. Filtering 
  1166. ______________________________________________________________________________
  1167.  
  1168.   
  1169.             Filtering is the term used to describe the process that LIST 
  1170.         uses to  format file  data for  displaying on  a monitor.  After 
  1171.         data  is  read  from  a  file,  it  is  filtered.  The method of 
  1172.         filtering depends upon the options in effect. 
  1173.   
  1174.             For a typical ASCII  text file, the filter  removes carriage 
  1175.         return and line feed characters, and expands TAB characters. 
  1176.   
  1177.   
  1178.  
  1179.     Hi-bit Filter 
  1180.   
  1181.             The  7,  8,  and  *  (asterisk)  commands  determine whether 
  1182.         characters above ASCII-127 are displayed.  If the hi-bit  option 
  1183.         is off (7  command), the filter  strips the high  order bit from 
  1184.         each character.   If the  hi-bit option  is on  (8 command), all 
  1185.         characters, including  graphic characters  above ASCII-127,  are 
  1186.         displayed. 
  1187.   
  1188.  
  1189.     Star Filter 
  1190.   
  1191.             The  star  (*  or  asterisk)  command  displays  only  ASCII 
  1192.         characters below 128 (x'80'), but treats the special  characters 
  1193.         x'8A'  and  x'8D'  as  line-feed  and  carriage-return   control 
  1194.         characters.   Any  other  characters  above  127  are treated as 
  1195.         spaces, and control codes below ASCII-26 are replaced by blanks. 
  1196.   
  1197.             The Wrap option causes the filtering to insure that no  line 
  1198.         exceeds the width of the monitor, e.g. 80 characters. 
  1199.   
  1200.  
  1201.     Junk Filter 
  1202.   
  1203.             The alt-J  command toggles  the "junk"  filter which insures 
  1204.         that carriage  returns in  the file  also result  in a new line. 
  1205.         Also, backspace characters result in "backing up" the display by 
  1206.         one position.  This  allows more readability  of files that  use 
  1207.         backspacing to emphasize, or over-write, characters. 
  1208.   
  1209.   
  1210.  
  1211.     Hex Format Filter 
  1212.   
  1213.             The hex dump option (alt-H) causes the filtering to reformat 
  1214.         the file  data into  a DEBUG-like  display format.   The largest 
  1215.         file that can be displayed in Hex is 1 million bytes. 
  1216.   
  1217.             An  attempt  is  made  to  retain  the  file  position  when 
  1218.         switching from normal to hex-dump display, but due to  filtering 
  1219.         changing record lengths,  the hex display  may begin before  the 
  1220.         current record. 
  1221.   
  1222.         NOTE:   The  EOF  control character is  ignored in this version. 
  1223.   
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229. LIST  User's Guide                                                    Page  17 
  1230. DOS considerations 
  1231. ______________________________________________________________________________
  1232.  
  1233.  
  1234.     File Sharing 
  1235.   
  1236.             LIST uses  two techniques  for allowing  you to  share files 
  1237.         with   other   processes,   such   as   programs   running under 
  1238.         multi-tasking systems, in other windows, or on networks. 
  1239.   
  1240.             The first technique is called "file closing" and is  enabled 
  1241.         by the  alt-S commands.   This forces  LIST to  close the viewed 
  1242.         file unless it needs to read from the file.  If enough memory is 
  1243.         available, the entire file may be loaded once and thus leave the 
  1244.         file free for exclusive access by other processes. 
  1245.   
  1246.             The  second  technique  is  called  "file sharing".  It is a 
  1247.         function of  DOS and  requires DOS  version 3.0  or later.  LIST 
  1248.         opens the viewed  files with a  DENY NONE request.   This allows 
  1249.         other processes to  read and write  to the file  if they do  not 
  1250.         request exclusive use of the  file.  If a file is  not available 
  1251.         to  LIST  because  it  is  locked  by  another process, you will 
  1252.         receive the error message "File not found" or "Access  denied". 
  1253.         There is  no command  to enable  or disable  this method of file 
  1254.         sharing.  It is implicit with the use of DOS version 3. 
  1255.   
  1256.  
  1257.     Invoking DOS Commands 
  1258.   
  1259.             If the  "goto DOS"  option is  enabled, you  may invoke  DOS 
  1260.         commands by using the alt-G command.  LIST reserves about 60k of 
  1261.         memory  for   its  own   use.   This   increases  LIST's  memory 
  1262.         requirements  to  approximately  96k  when  using  alt-G.    The 
  1263.         remaining memory is available to the DOS commands. 
  1264.   
  1265.   
  1266.             After you have finished  entering DOS commands, use  the DOS 
  1267.         EXIT command to return to LIST. 
  1268.   
  1269.             To disable the  "goto DOS" function,  you must use  DEBUG to 
  1270.         alter the option  byte described in  the section about  cloning. 
  1271.         With it disabled, LIST requires less memory, about 66K. 
  1272.   
  1273.  
  1274.     Screen Saving 
  1275.   
  1276.             If  the  screen  saving  option  is  enabled, LIST saves the 
  1277.         contents of the current display screen when it starts.  You  can 
  1278.         restore  the  original  screen  by  exiting  LIST with the alt-X 
  1279.         command. 
  1280.   
  1281.             Screen saving requires approximately 10k more memory.   This 
  1282.         is sufficient to save 60 lines of 80 characters (EGA 8x6  mode). 
  1283.         See the section about cloning for information about enabling and 
  1284.         disabling the screen saving feature. 
  1285.   
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294. Page  18                                                    LIST  User's Guide 
  1295. DEBUG Information 
  1296. ______________________________________________________________________________
  1297.  
  1298.   
  1299.            An alternative to cloning is  to use DEBUG to make  permanent 
  1300.         changes.  Here is a list of key items and their addresses: 
  1301.   
  1302.            0127 - special lines 1 and 25 colors, default is 01 (blue) 
  1303.                   Refer to a technical reference guide for the 
  1304.                   attribute values for the colors that you want. 
  1305.            0129 - normal lines 2 thru 24 colors, default is 02 (green) 
  1306.            012B - bright color for Find/Scan, default is 0F (bright white) 
  1307.            012D - clonable options; 
  1308.                MRSJ WHK*  M = mono, retrace testing if off, x'01' 
  1309.                           R = ruler, x'02' 
  1310.                           S = shared, x'04' 
  1311.                           J = add LF to lone CR, process backspaces, 
  1312.                               if on, x'08'; default is off 
  1313.                           W = wrap mode, x'10' 
  1314.                           H = hi-bit on, x'20' 
  1315.                           K = kybd flush, x'40' 
  1316.                           * = special document filtering, x'80' 
  1317.            012E - more clonable options, not all are indicated: 
  1318.                .PAT DGV.  P = Preload file if on, x'02', default is off 
  1319.                           A = Apxcore if on, TV/DD/DV if off, x'04, 
  1320.                               default is for Topview/Double DOS use 
  1321.                           T = if on (default), expand TABs, x'08' 
  1322.                           D = hex display mode if on, x'10' 
  1323.                           G = if on, alt-G goto DOS is Disabled, x'20' 
  1324.                           V = if on, screen save/restore is Disabled 
  1325.                               and 9K less memory is used/required, x'40' 
  1326.   
  1327.         By  specifying  the  bit  value,  the  option  is  enabled.  For 
  1328.         example, to enable  Shared and Retrace,  specify a hex  value of 
  1329.         the sum, or 01+04 = 05. 
  1330.            012F - row less one at which found text is displayed,  1 byte 
  1331.                   the default is 08 which displays found text on line  9 
  1332.            0131 - scroll offset value,  default is 10 (x'0A'),  one byte 
  1333.            0133 - scroll starting value, default is 0 (x'00'), one byte 
  1334.            0135 - tab increment, must be power of 2, default is 8 
  1335.            0137 - tab mask, subtract tab incr from FFFFh,default is FFF8 
  1336.            0139 - beep tone, default is 512 (hex 0200) 
  1337.   
  1338.             When  the  Find/Scan  command  is  used, the next line which 
  1339.         contains that text is highlighted using the 'bright' color,  and 
  1340.         is placed in  row 9 of  the screen.  You  can change the  row by 
  1341.         altering the byte  at location 12F  which is normally  '08', one 
  1342.         less than the row. 
  1343.   
  1344.             The letters and command keys may also be changed.  There are 
  1345.         two tables involved: WHAT and WHERE.  The WHAT table contains  a 
  1346.         list of  one-byte keyboard  codes.  The  WHERE table  contains a 
  1347.         list  of  two-byte  matching  addresses.   If you really want to 
  1348.         change the codes, here are the DEBUG addresses: 
  1349.   
  1350.            03AA - WHAT eye catcher 
  1351.            03AE - table of key codes,  ASCII 0-127,  then extended 0-132 
  1352.            04B3 - WHERE eye catcher 
  1353.            04B8 - list of two byte addresses of processing routines 
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359. LIST  User's Guide                                                    Page  19 
  1360. Restrictions 
  1361. ______________________________________________________________________________
  1362.  
  1363.   
  1364.         Written by Vernon Buerg for the  IBM PC using DOS 2.0 or  later, 
  1365.         through DOS 3.2.  For personal use only; may not be sold. 
  1366.   
  1367.           o  The program requires about 48K of memory. If more memory is 
  1368.              available, it is used to store more of the file in  memory. 
  1369.              At least 80K is required to  use the DOS shell.  Add 9K  if 
  1370.              the screen saving option is enabled (default). 
  1371.   
  1372. |         o  The line number is currently limited to 16 million lines. 
  1373.   
  1374.           o  The  file  size  is  limited  to 16 million bytes for ASCII 
  1375. |            files, and to 4 million bytes for hex-dump files. 
  1376.   
  1377.           o  PC DOS Version 2.0 or later is required. DOS version 3.0 
  1378.              or later is required for file sharing. 
  1379.   
  1380.           o  ANSI.SYS is NOT required. 
  1381.   
  1382.         APX Core, DesqView, TopView, and Double DOS, IBM,  Sigma are all 
  1383.         copyrighted,  trademarked,  and all that. 
  1384.   
  1385.         LIST  is  supplied  for  personal,  private  use.   Feel free to 
  1386.         distribute LIST given these restrictions: 
  1387.   
  1388.           o  the program  shall be supplied in its original,  unmodified 
  1389.              form, which includes this documentation; 
  1390.   
  1391.           o  no fee is charged; 
  1392.   
  1393.           o  for-profit use without a license is prohibited; 
  1394.   
  1395.           o  the program may not be included -  or bundled - with  other 
  1396.              goods or services.  Exceptions may be granted upon  written 
  1397.              request only. This applies to clubs and distributors, too. 
  1398.   
  1399.   
  1400.         If you are  using LIST and  find it of  value, your gift  in any 
  1401.         amount ($15 suggested) will be greatly appreciated.  Please make 
  1402.         checks payable in U.S. dollars to Vernon D. Buerg.  Canadian and 
  1403.         non-U.S. checks are not acceptable. 
  1404.   
  1405.         For use by corporations  and other institutions, please  contact 
  1406.         me for a licensing arrangement.  More information is supplied in 
  1407.         the file LICENSE.TXT.  Customizing, licensing of the source, and 
  1408.         other special  licensing are  available upon  request.  Purchase 
  1409.         orders and invoicing are acceptable. 
  1410.   
  1411.   
  1412.                 Vernon D. Buerg 
  1413.                 139 White Oak Circle 
  1414.                 Petaluma, CA  94952 
  1415.   
  1416.                 Data:   (707) 778-8944    VOR 24-hour bulletin board 
  1417.                 Compuserve: 70007,1212 
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424. Page  20                                                    LIST  User's Guide 
  1425. LIST  User's Guide                                                 Index-1
  1426. __________________________________________________________________________
  1427.  
  1428.  
  1429.  
  1430.   /*,command line,star filter .. 1, 15
  1431.   /7,command line,7-bit option . 1, 15
  1432.   /8,command line,8-bit option . 1
  1433.   /H,command line,hex option ... 1
  1434.   /J,command line,junk filter .. 1
  1435.   /L,command line,preload option 1
  1436.   /S,command line,piping option  1, 2
  1437.   /W,command line,wrap option .. 1
  1438.   Alt- keys .................... 6
  1439.   Alt-A,APXCORE option ......... 6, 15
  1440.   Alt-B,mark bottom line ....... 6, 7, 11
  1441.   Alt-C,clone new LIST.COM ..... 6, 8, 14, 15
  1442.   Alt-D,Write marked lines ..... 6, 11
  1443.   Alt-E,toggle 25/43 lines ..... 6, 12
  1444.   Alt-F,enter new filename ..... 4, 6, 10
  1445.   Alt-G,go to DOS .............. 1, 6, 18, 19
  1446.   Alt-H,toggle hex display ..... 3, 6, 15, 17
  1447.   Alt-J,toggle junk filter ..... 6, 11, 15, 17
  1448.   Alt-L,toggle file preloading . 6, 9, 15
  1449.   Alt-M,mark top line .......... 6, 7, 11
  1450.   Alt-N,toggle screen saving ... 6, 15
  1451.   Alt-O,write marked lines ..... 6
  1452.   Alt-R,toggle ruler display ... 3, 6, 15
  1453.   Alt-S,toggle file sharing .... 6, 15, 16, 18
  1454.   Alt-T,toggle TAB expansion ... 6, 15
  1455.   Alt-U,unmark lines ........... 6, 11
  1456.   Alt-W,freeze top window ...... 7
  1457.   Alt-X,exit to DOS ............ 1, 7, 10, 11, 15, 18
  1458.   Alt-Y,reposition to last line  7
  1459.   Cloning ...................... 8, 14, 15, 16, 18, 19
  1460.   Colors ....................... 6, 14, 15, 16, 19
  1461.   Command line format .......... 1, 13
  1462.   Command line,option switches . 1, 3, 12, 13, 14, 16
  1463.   Continuous,scrolling ......... 4, 8, 13
  1464.   Control- keys ................ 5
  1465.   Cursor keys .................. 4, 16
  1466.   DEBUG,changing options ....... 6, 15, 17, 18, 19
  1467.   Display Format ............... 12, 17
  1468.   Exit to DOS .................. 4, 5, 10
  1469.   F- function keys ............. 5
  1470.   File Sharing ................. 18, 20
  1471.   Find,text .................... 4, 5, 7, 13, 14, 16, 19, 20
  1472.   Hex dump,display mode ........ 1, 3, 6, 13, 15, 17
  1473.   Hex Format Filter ............ 17
  1474.   Hi-bit Filter ................ 17
  1475.   Hi-bit,filter ................ 17, 19
  1476.   Installation ................. 1
  1477.   Introduction ................. 1
  1478.   Invoking DOS Commands ........ 18
  1479.   Junk Filter .................. 17
  1480.   Junk,filter .................. 1, 2, 11, 15, 17
  1481.   Letter keys .................. 4
  1482.   License,information .......... 20
  1483.   LISTS.COM,small version ...... 1
  1484.   Piped,piping files ........... 1, 2
  1485.   Print,files or lines ......... 1, 11, 13
  1486.  
  1487. Index-2                                                LIST  User's Guide 
  1488. __________________________________________________________________________
  1489.  
  1490.  
  1491.  
  1492.   Scan,for text ................ 4, 5, 7, 13, 14, 16, 19
  1493.   Screen saving,option ......... 6, 7, 15, 18, 20
  1494.   Shell,to DOS ................. 1, 6, 20
  1495.   Star Filter .................. 17
  1496.   Star,filter .................. 1, 17
  1497.   Status Line Format ........... 12
  1498.   Switches,command line ........ 1
  1499.   TAB,control character ........ 2, 6, 13, 15, 17, 19
  1500.  
  1501.